/** 公共相关接口 */

export interface IErrorInfo {
    statusCode?: number;
    errMsg?: string;
} 

// 发起请求的方法
export interface IRequest {
    data: {
        UniqueKey: string;
        MethodName: string;
        Tag?: string;
        StoreId?: string;
        WhereList?: any[];
        tag?: string;
        BillType?: string;
        Token?: string;
        UserNo?: string;
        ClientTime?: Date;
        [key: string]: any;
		ObjectData: any;
    };
    url?: string;
}

// 定义请求和响应的接口
export interface IRequestData {
	IsNotNullPage?: boolean;
	SqlWhereTail?: string;
	Tag?: any[];
	UniqueKey: string;
	ObjectData: any;
	MethodName: string;
}

export interface IResponseData {
    HasException?: boolean;
    Exception?: {
        Code: string;
        Message: string;
    };
    [key: string]: any;
}